package cn.edu.nit.sys.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.Getter;

/**
 * @Author 罗文斌
 * @Date 2023/4/13
 * @Version 1.0.0
 */
@Getter
public enum ForumStatusEnum {

    ONE("0", "已拒绝"),
    TWO("1", "待审核"),
    THREE("2", "已通过");

    @EnumValue
    private String code;
    @JsonValue
    private String label;

    ForumStatusEnum(String code, String label) {
        this.code = code;
        this.label = label;
    }
}
